package com.android.gilastv.ui.activity;

import android.view.View;

import androidx.fragment.app.FragmentActivity;

import com.android.baselibrary.tool.CommToast;
import com.android.gilastv.R;
import com.android.gilastv.dialog.Feedbak_DialogFragment;

import butterknife.OnClick;

public class SettingActivity extends BaseActivity {


    @Override
    protected int getLayoutId() {
        return R.layout.activity_setting;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {
        getData();
    }

    private void getData() {

    }

    @OnClick({R.id.csb_feed,R.id.csb_clear,R.id.csb_update})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.csb_feed:
                Feedbak_DialogFragment.showDialog((FragmentActivity) mContext, null);
                break;
            case R.id.csb_clear:
                CommToast.showToast(mContext,"已清除");
                break;
            case R.id.csb_update:
                CommToast.showToast(mContext,"已是最新版");
                break;

        }
    }
}
